Learn R Programming

via (version 0.2.0)

[[<-,VirtualArray,ANY-method: Replace elements of 'VirtualArray'-class objects.

Description

Double bracket '[[' refers to layers' name in the names of the @stack member of the 'VirtualArray'. Use single brackets to replace elements based on their position in the 'VirtualArray'-class object.

Usage

# S4 method for VirtualArray,ANY
[[(x, i) <- value

Value

The function has no return value.

Arguments

x

Object from a class derived from VirtualArray.

i

subscript of layers to replace.

value

character vector.